package com.ruoyi.exam.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 专业信息表
 * </p>
 *
 * @author FSD
 * @since 2024-02-28
 */
@Getter
@Setter
@TableName("t_major")
@ApiModel(value = "Major对象", description = "专业信息表")
public class Major implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("ID")
      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("专业名称")
    private String major;

    @ApiModelProperty("第几届")
    private Integer admissionYear;


}
